cmake_minimum_required(VERSION 3.10)




project(ipc-shm)



include_directories(${PROJECT_SOURCE_DIR}/../common)

# add_definitions(-DIPC_ISR_MODULE_PATH "/opt/temp/ipc-shm/ipc-shm-dev.ko")
# add_definitions(-DIPC_ISR_MODULE_NAME "$(shell echo $(ipc_cdev_name) | tr '-' '_')")

file(GLOB_RECURSE Files *.h *.c)

set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../libs)
# add_library(${PROJECT_NAME} SHARED ${Files})
add_library(${PROJECT_NAME}  ${Files})